.left-enter-active,.left-leave-active{
    transition: 0.5s;
}
.left-enter{
    transform: translate(300px,300px);
    opacity: 0;
}
.left-leave{
    transform: translate(-300px,-300px);
    opacity: 0;
}
